﻿<phone:PhoneApplicationPage 
    x:Class="TravelWallet.About"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="TRAVEL WALLET" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="About" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition MinHeight="121" Height="0.25*"/>
                <RowDefinition Height="0.5*" MinHeight="21"/>
            </Grid.RowDefinitions>
        	<Grid HorizontalAlignment="Center" Margin="23,0,6,369" VerticalAlignment="Center" Height="176" Grid.RowSpan="2" Width="427">
        		<Grid.ColumnDefinitions>
        			<ColumnDefinition Width="Auto"/>
        			<ColumnDefinition/>
        		</Grid.ColumnDefinitions>
        		<Image x:Name="img_logo" Source="/TW_AppTileImg_Trans_173x173.png" Margin="0,0,0,-4" VerticalAlignment="Top" HorizontalAlignment="Left" Height="173" Width="173"/>
        		<StackPanel x:Name="sp_AuthorDetails" Margin="20,0,0,42" Grid.Column="1">
                    <TextBlock TextWrapping="Wrap" Text="TRAVEL WALLET" VerticalAlignment="Top" Margin="0,10,0,0"/>
        			<TextBlock x:Name="tb_Version" TextWrapping="Wrap" Text="Version" FontSize="16"/>
        			<TextBlock TextWrapping="Wrap" Text="produced by:" Margin="0,20,0,0" FontSize="16"/>
                    <TextBlock TextWrapping="Wrap" Text="Blue Label Labs" Margin="0"/>
        			<TextBlock TextWrapping="Wrap" FontSize="16"/>
        		</StackPanel>
        	</Grid>
        </Grid>
        <Grid Margin="12,208,12,0" Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <StackPanel x:Name="sp_Rate" Height="123" Margin="0,10,0,240">
                <TextBlock TextWrapping="Wrap" Text="To report a bug or to submit a missing point program:" Height="67" Grid.Row="1" TextAlignment="Center" />
                <HyperlinkButton NavigateUri="mailto:contact@bluelabellabs.com" Content="Contact Support" HorizontalAlignment="Center" d:LayoutOverrides="Height" Grid.Row="2" VerticalAlignment="Center" TargetName="_blank" Width="456" Padding="0,0,0,10" />
            </StackPanel>
            <StackPanel x:Name="sp_Contact" Height="230" Margin="0,139,0,4">
                <TextBlock Height="71" Margin="0,0,0,0" Text="If you like Travel Wallet, please rate and review it in the Marketplace by tapping the button below:" TextAlignment="Center" TextWrapping="Wrap" Width="456" Grid.Row="1" />
                <Button Content="Rate &amp; Review" Height="71" Name="btn_Rate" Width="456" MouseLeftButtonUp="btn_Rate_MouseLeftButtonUp" ClickMode="Hover" />
                <Grid Height="100" Name="grid1" Width="400" HorizontalAlignment="Center">
                    <Button Height="71" Name="buttonFacebook" Width="160" HorizontalAlignment="Left" VerticalAlignment="Center" MouseLeftButtonUp="buttonFacebook_MouseLeftButtonUp" ClickMode="Hover" >
                        <Button.Background>
                            <ImageBrush ImageSource="/TravelWallet;component/Images/like_us_on_facebook.png" />
                        </Button.Background>
                    </Button>
                    <Button Height="71" Name="buttonTwitter" Width="160" HorizontalAlignment="Right" VerticalAlignment="Center" MouseLeftButtonUp="buttonTwitter_MouseLeftButtonUp" ClickMode="Hover" >
                        <Button.Background>
                            <ImageBrush ImageSource="/TravelWallet;component/Images/follow_us_on_twitter.png" />
                        </Button.Background>
                    </Button>
                    <!--<HyperlinkButton Content="" Height="48" Name="hyperlinkButtonFacebook" Width="160" NavigateUri="http://www.facebook.com/TravelWallet" HorizontalAlignment="Left" VerticalAlignment="Center" BorderBrush="White">
                        <HyperlinkButton.Background>
                            <ImageBrush ImageSource="/TravelWallet;component/Images/like_us_on_facebook.png" />
                        </HyperlinkButton.Background>
                    </HyperlinkButton>
                    <HyperlinkButton Content="" Height="48
                                     " Name="hyperlinkButtonTwitter" Width="160" NavigateUri="http://www.facebook.com/TravelWallet" HorizontalAlignment="Right" VerticalAlignment="Center" BorderBrush="White">
                        <HyperlinkButton.Background>
                            <ImageBrush ImageSource="/TravelWallet;component/Images/follow_us_on_twitter.png" />
                        </HyperlinkButton.Background>
                    </HyperlinkButton> -->
                </Grid>
            </StackPanel>
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
